package com.oa.core.exception;

import com.oa.core.enumm.CodeEnum;

/**
 * @author syb
 * date 2019/2/12
 */
public class DataIsEmptyException extends IException{
    private static final long serialVersionUID = 5450935008012318698L;

    public DataIsEmptyException(String message) {
        super(501, message);
    }

    public DataIsEmptyException() {
        super(CodeEnum.DATA_IS_EMPTY.getCode (), CodeEnum.DATA_IS_EMPTY.getMessage ());
    }
}
